Title : Hub Labeling ( 2 - Hop Labeling ) Name : Daniel Delling 1 , Andrew
نویسندگان
چکیده
Given a directed graph G = (V, A) (with n = |V | and m = |A|) with a length function : A → R + and a pair of vertices s, t, a distance oracle returns the distance dist(s, t) from s to t. A labeling algorithm [18] implements distance oracles in two stages. The preprocessing stage computes a label for each vertex of the input graph. Then, given s and t, the query stage computes dist(s, t) using only the labels of s and t; the query does not explicitly use G and. Hub labeling (HL) (or 2-hop labeling) is a special kind of labeling algorithm. The label L(v) of a vertex v consists of two parts: the forward label L f (v) is a collection of vertices w with their distances dist(v, w) from v, while the backward label L b (v) is a collection of vertices u with their distances dist(u, v) to v. (If the graph is undirected, a single label per vertex suffices.) The vertices in v's label are the hubs of v. The labels must obey the cover property: for any two vertices s and t, the set L f (s) ∩ L b (t) must contain at least one hub that is on the shortest s–t path. Given the labels, HL queries are straightforward: to find dist(s, t), simply find the hub x ∈ L f (s) ∩ L b (t)
منابع مشابه
Hierarchical Hub Labelings for Shortest Paths
We study hierarchical hub labelings for computing shortest paths. Our new theoretical insights into the structure of hierarchical labels lead to faster preprocessing algorithms, making the labeling approach practical for a wider class of graphs. We also find smaller labels for road networks, improving the query speed.
متن کاملA Hub-Based Labeling Algorithm for Shortest Paths in Road Networks
Abraham et al. [SODA 2010] have recently presented a theoretical analysis of several practical point-to-point shortest path algorithms based on modeling road networks as graphs with low highway dimension. They also analyze a labeling algorithm. While no practical implementation of this algorithm existed, it has the best time bounds. This paper describes an implementation of the labeling algorit...
متن کاملA Hub-Based Labeling Algorithm for Shortest Paths on Road Networks
Abraham et al. [SODA 2010] have recently presented a theoretical analysis of several practical point-to-point shortest path algorithms based on modeling road networks as graphs with low highway dimension. Among the methods they analyzed, the one with the best time bounds is the labeling algorithm. Their results suggest that the algorithm is interesting from a theoretical viewpoint, but leave op...
متن کاملHub Labels: Theory and Practice
The Hub Labeling algorithm (HL) is an exact shortest path algorithm with excellent query performance on some classes of problems. It precomputes some auxiliary information (stored as a label) for each vertex, and its query performance depends only on the label size. While there are polynomial-time approximation algorithms to find labels of approximately optimal size, practical solutions use hie...
متن کاملPublic Transit Labeling
We study the journey planning problem in public transit networks. Developing efficient preprocessing-based speedup techniques for this problem has been challenging: current approaches either require massive preprocessing effort or provide limited speedups. Leveraging recent advances in Hub Labeling, the fastest algorithm for road networks, we revisit the well-known time-expanded model for publi...
متن کامل